#pragma once

#include <vector>
#include <string>
#include <iostream>

class Product
{
private:
    std::vector<std::string> parts_;
public:
    Product() = default;
    ~Product() = default;

    /**
     * 添加部件
     */
    void AddPart(const std::string &part);

    friend std::ostream& operator<<(std::ostream &os, const Product &product);
};
